Build fix.
authorkfraser@ubuntu.eng.hq.xensource.com <kfraser@ubuntu.eng.hq.xensource.com>
Fri, 8 Sep 2006 22:46:54 +0000 (15:46 -0700)
committerkfraser@ubuntu.eng.hq.xensource.com <kfraser@ubuntu.eng.hq.xensource.com>
Fri, 8 Sep 2006 22:46:54 +0000 (15:46 -0700)
linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c

index e963ac95d7d358e1a6388b57f044880c910b193d..a39a22a6d4009223f173aa98a89dd786f8d32ddc 100644 (file)
@@ -126,7 +126,7 @@ int xencons_ring_init(void)
                handle_input, 0, "xencons", NULL);
        if (irq < 0) {
                printk(KERN_ERR "XEN console request irq failed %i\n", irq);
-               return err;
+               return irq;
        }
 
        xencons_irq = irq;